package com.service;

import java.util.List;

import com.model.ReponseDto;
import com.model.SysRole;

public interface ISysRoleService {
    public ReponseDto<List<SysRole>> list();

    /**
     * 添加角色
     * 
     * @param sysRole
     * @return
     */
    public ReponseDto<String> add(SysRole sysRole, String userId, String userName);

    /**
     * 编辑角色
     * 
     * @param sysRole
     * @return
     */
    public ReponseDto<String> right(SysRole sysRole, String userId, String userName);
}
